<?php
namespace app\application\model;

use think\Model;

class ProjectModel extends Model
{
      //此处的变量是对应数据表名的全称
      protected  $table='oa_apply_project';

      public function insert($data){
           $model=new ProjectModel();
           $model->data=$data;
           if($model->save()){
               return true;
           }else{
               return false;
           }
      }
}